﻿<%@ Control Language="C#" ClassName="PaymentTypeFields" %>
<asp:FormView ID="FormView1" runat="server">
    <ItemTemplate>
        <table border="0" cellpadding="3" cellspacing="1">
            <tr>
                <td class="literal">
                    <asp:Label ID="lbldataPaymentTypeId" runat="server" Text="Payment Type Code:" AssociatedControlID="dataPaymentTypeCode" />
                </td>
                <td>
                    <asp:TextBox runat="server" ID="dataPaymentTypeCode" Text='<%# Bind("PaymentTypeCode") %>'
                        MaxLength="3" CssClass="text-input large-input"></asp:TextBox><asp:RequiredFieldValidator
                            ID="ReqVal_dataPaymentTypeId" runat="server" Display="Dynamic" ControlToValidate="dataPaymentTypeCode"
                            ErrorMessage="Required"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="literal">
                    <asp:Label ID="lbldataDescription" runat="server" Text="Description:" AssociatedControlID="dataDescription" />
                </td>
                <td>
                    <asp:TextBox runat="server" ID="dataDescription" Text='<%# Bind("Description") %>'
                        MaxLength="50" CssClass="text-input large-input"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="literal">
                    <asp:Label ID="lbldataVietnameseTitle" runat="server" Text="Vietnamese Title:" AssociatedControlID="dataVietnameseTitle" />
                </td>
                <td>
                    <asp:TextBox runat="server" ID="dataVietnameseTitle" Text='<%# Bind("VietnameseTitle") %>'
                        MaxLength="50" CssClass="text-input large-input"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="literal">
                    <asp:Label ID="lbldataEnglishTitle" runat="server" Text="English Title:" AssociatedControlID="dataEnglishTitle" />
                </td>
                <td>
                    <asp:TextBox runat="server" ID="dataEnglishTitle" Text='<%# Bind("EnglishTitle") %>'
                        MaxLength="50" CssClass="text-input large-input"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="literal">
                    <asp:Label ID="lbldataAccountNumber" runat="server" Text="Account Number:" AssociatedControlID="dataAccountNumber" />
                </td>
                <td>
                    <asp:TextBox runat="server" ID="dataAccountNumber" Text='<%# Bind("AccountNumber") %>'
                        MaxLength="50" CssClass="text-input large-input"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="literal">
                    <asp:Label ID="lbldataLookUpCode" runat="server" Text="Look Up Code:" AssociatedControlID="dataLookUpCode" />
                </td>
                <td>
                    <asp:TextBox runat="server" ID="dataLookUpCode" Text='<%# Bind("LookUpCode") %>'
                        MaxLength="50" CssClass="text-input large-input"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="literal">
                    <asp:Label ID="lbldataCurrency" runat="server" Text="Currency:" AssociatedControlID="dataCurrency" />
                </td>
                <td>
                    <data:EntityDropDownList runat="server" ID="dataCurrency" SelectedValue='<%# Bind("Currency") %>'
                        AppendNullItem="False" Required="true" NullItemText="< Please Choose ...>" ErrorText="Required"
                        CssClass="text-input large-input">
                        <asp:ListItem Text="VND"></asp:ListItem>
                        <asp:ListItem Text="USD"></asp:ListItem>
                    </data:EntityDropDownList>
                </td>
            </tr>
            <tr>
                <td class="literal">
                    <asp:Label ID="lbldataJournalType" runat="server" Text="Journal Type:" AssociatedControlID="dataJournalType" />
                </td>
                <td>
                    <asp:TextBox runat="server" ID="dataJournalType" Text='<%# Bind("JournalType") %>'
                        MaxLength="50" CssClass="text-input large-input"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="literal">
                    <asp:Label ID="lbldataT0" runat="server" Text="T0:" AssociatedControlID="dataT0" />
                </td>
                <td>
                    <asp:TextBox runat="server" ID="dataT0" Text='<%# Bind("T0") %>' MaxLength="12"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="literal">
                    <asp:Label ID="lbldataT1" runat="server" Text="T1:" AssociatedControlID="dataT1" />
                </td>
                <td>
                    <asp:TextBox runat="server" ID="dataT1" Text='<%# Bind("T1") %>' MaxLength="12"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="literal">
                    <asp:Label ID="lbldataT2" runat="server" Text="T2:" AssociatedControlID="dataT2" />
                </td>
                <td>
                    <asp:TextBox runat="server" ID="dataT2" Text='<%# Bind("T2") %>' MaxLength="12"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="literal">
                    <asp:Label ID="lbldataT3" runat="server" Text="T3:" AssociatedControlID="dataT3" />
                </td>
                <td>
                    <asp:TextBox runat="server" ID="dataT3" Text='<%# Bind("T3") %>' MaxLength="12"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="literal">
                    <asp:Label ID="lbldataT4" runat="server" Text="T4:" AssociatedControlID="dataT4" />
                </td>
                <td>
                    <asp:TextBox runat="server" ID="dataT4" Text='<%# Bind("T4") %>' MaxLength="12"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="literal">
                    <asp:Label ID="lbldataT5" runat="server" Text="T5:" AssociatedControlID="dataT5" />
                </td>
                <td>
                    <asp:TextBox runat="server" ID="dataT5" Text='<%# Bind("T5") %>' MaxLength="12"></asp:TextBox>
                </td>
            </tr>
        </table>
    </ItemTemplate>
</asp:FormView>
